package com.ggs.rg.ybjb.adminmodule.service.impl;



import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ggs.rg.ybjb.adminmodule.mapper.UserMapper;
import com.ggs.rg.ybjb.adminmodule.service.UserService;
import com.ggs.rg.ybjb.pojomodule.pojo.TUser;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author cxw
 * @since 2021-10-23
 */
@Service
public class UserServiceImpl extends ServiceImpl<UserMapper, TUser> implements UserService {

    @Autowired
    UserMapper userMapper;


    @Override
    public JSONObject getUserDetailByPhone(String phone) {
        return userMapper.selectUserDetailById(phone);
    }
}
